Skip to content

Conversation

@mr-zepol
Copy link
Contributor

Introduces custom serializers to resolve naming conflicts between the deprecated 'author' string and the new 'authors' list fields in Component. Adds AuthorsBeanSerializerModifier and AuthorsSerializer to ensure correct XML/JSON output across CycloneDX schema versions. Updates OrganizationalContact and Component annotations for precise serialization. Includes comprehensive tests for all field combinations, formats, and migration scenarios.

Solves issue #638

@mr-zepol mr-zepol requested a review from a team as a code owner October 26, 2025 17:07
@mr-zepol mr-zepol added bug Something isn't working spec/1.6 labels Oct 26, 2025
Introduces custom serializers to resolve naming conflicts between the deprecated 'author' string and the new 'authors' list fields in Component. Adds AuthorsBeanSerializerModifier and AuthorsSerializer to ensure correct XML/JSON output across CycloneDX schema versions. Updates OrganizationalContact and Component annotations for precise serialization. Includes comprehensive tests for all field combinations, formats, and migration scenarios.
@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.13% 97.30%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (f4fd4b0) 6456 4844 75.03%
Head commit (c724a3d) 6493 (+37) 4880 (+36) 75.16% (+0.13%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#730) 37 36 97.30%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working spec/1.6

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants